<p class="Paragraph"><help:paragraphinfo state="U" number="5" xmlns:help="http://openoffice.org/2000/help"/>You can check each line in your Basic program for errors using single step execution. Errors are easily traced since you can immediately see the result of each step. A pointer in the breakpoint column of the Editor indicates the current line. You can also set a breakpoint if you want to force the program to be interrupted at a specific position.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="7" xmlns:help="http://openoffice.org/2000/help"/>Double-click in the <span class="T1">breakpoint</span> column at the left of the Editor window to toggle a breakpoint at the corresponding line. When the program reaches a breakpoint, the program execution is interrupted.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="8" xmlns:help="http://openoffice.org/2000/help"/>The <span class="T1">single step </span>execution using the <span class="T1">Single Step</span> icon causes the program to branch into procedures and functions.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="25" xmlns:help="http://openoffice.org/2000/help"/>The procedure step execution using the <span class="T1">Procedure Step</span> icon causes the program to skip over procedures and functions as a single step.</p>
<p class="Head3"><help:paragraphinfo state="U" number="9" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="breakpoints; properties" tag="kw66471_8" xmlns:help="http://openoffice.org/2000/help"/>Properties of a Breakpoint</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="26" xmlns:help="http://openoffice.org/2000/help"/>The properties of a breakpoint are available through its context menu by right-clicking the breakpoint in the breakpoint column.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="10" xmlns:help="http://openoffice.org/2000/help"/>You can <span class="T1">activate</span> and <span class="T1">deactivate</span> a breakpoint by selecting <span class="T1">Active</span> from its context menu. When a breakpoint is deactivated, it does not interrupt the program execution. </p>
<p class="Paragraph"><help:paragraphinfo state="U" number="27" xmlns:help="http://openoffice.org/2000/help"/>Select <span class="T1">Properties</span> from the context menu of a breakpoint or select <span class="T1">Breakpoints</span> from the context menu of the breakpoint column to call the <span class="T1">Breakpoints</span> dialog where you can specify other breakpoint options.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="11" xmlns:help="http://openoffice.org/2000/help"/>The list displays all <span class="T1">breakpoints</span> with the corresponding line number in the source code. You <text:s text:c="" xmlns:text="http://openoffice.org/2000/text"/>can activate or deactivate a selected breakpoint by checking or clearing the <span class="T1">Active</span> box.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="12" xmlns:help="http://openoffice.org/2000/help"/>The <span class="T1">Pass Count</span> specifies the number of times the breakpoint can be passed over before the program is interrupted. If you enter 0 (default setting) the program is always interrupted as soon as a breakpoint is encountered.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="13" xmlns:help="http://openoffice.org/2000/help"/>Click <span class="T1">Delete</span> to remove the breakpoint from the program.</p>
<p class="Head2"><help:paragraphinfo state="U" number="14" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="variables; observing values" tag="kw66471_7" xmlns:help="http://openoffice.org/2000/help"/>Observing the Value of Variables</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="15" xmlns:help="http://openoffice.org/2000/help"/>You can monitor the values of a variable by adding it to the <span class="T1">Watch</span> window. To add a variable to the list of watched variables, type the variable name in the <span class="T1">Watch</span> text box and press Enter.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="16" xmlns:help="http://openoffice.org/2000/help"/>The values of variables are only displayed if they are in scope. Variables that are not defined at the current source code location display ("Out of Scope") instead of a value.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="17" xmlns:help="http://openoffice.org/2000/help"/>You can also include arrays in the Watch window. If you enter the name of an array variable without an index value in the Watch text box, the content of the entire array is displayed.</p>
<p class="TextInTable"><help:paragraphinfo state="U" number="19" xmlns:help="http://openoffice.org/2000/help"/>If you rest the mouse over a predefined variable in the Editor at run-time, the content of the variable is displayed in a pop-up box.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="21" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Provides an overview of the call hierarchy of procedures and functions.</help:help-text> You can determine which procedures and functions called which other procedures and functions at the current point in the source code.</p>